package cn.by.wms.config;

import cn.by.wms.mybatisx.ParameterPlugin;
import com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor;
import org.apache.ibatis.plugin.Interceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MybatisPlusConfig {
    @Bean
    public Interceptor mybatisPlusInterceptor(){
        ParameterPlugin parameterPlugin = new ParameterPlugin();
        return  parameterPlugin;
    }
}
